WP_Defender\Component\Security_Tweaks\Servers\Apache B

Total Complexity 85
Dependencies 2
Dependents 1
Total lines 632
Lines of code 402
Logical lines of code 236
Comment lines 129
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
process()
B
39 15 64
revert()
A
43 11 47
get_version()
A
48 11 32
get_rules_for_instruction()
S
44 5 58
protect_includes_directory()
S
48 6 34
protect_content_directory()
S
50 6 28
unprotect_content_directory()
S
55 5 20
unprotect_includes_directory()
S
56 5 19
generate_htaccess_rule()
S
60 4 14
get_rules()
S
51 2 32
cleanup_old_rules()
S
63 3 11
check()
S
62 3 11
protect_uploads_directory()
S
70 2 6
unprotect_upload_directory()
S
70 2 6
set_new_htaccess_config()
S
74 2 5
get_error_by_file_path()
S
67 1 9
get_new_htaccess_config()
S
82 1 3
__construct()
S
81 1 3